package com.tz.dream.architect.mvp.framework.support;

import com.tz.dream.architect.mvp.framework.MvpPresenter;
import com.tz.dream.architect.mvp.framework.MvpView;

/**
 * 作者: Dream on 2018/3/16 21:45
 * QQ:510278658
 * E-mail:510278658@qq.com
 */

//代理模式-第二重代理-目标接口-绑定和解绑
public interface MvpDelegateCallback<V extends MvpView, P extends MvpPresenter<V>> {

    P createPresenter();

    P getPresenter();

    void setPresenter(P presenter);

    V getMvpView();

}
